package com.qiguliuxing.dts.db.bean;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 评论者信息
 */
public class Commenter implements Serializable {
    private static final long serialVersionUID = 6377947945169319139L;

    private String commenterName;
    private String avatar;
    private String type;// "admin" 管理用户 "user" 普通用户
    private int commenterId;//评论者id

    private String commentContent; // 评论或回复内容
    private Integer comentId; // 评论或回复id
    private LocalDateTime addTime; // 评论或回复时间
    private String[] picList; // 评论或回复的图片

    public Commenter(String commenterName, String avatar, String type, int commenterId) {
        this.commenterName = commenterName;
        this.avatar = avatar;
        this.type = type;
        this.commenterId = commenterId;
    }

    public String getCommenterName() {
        return commenterName;
    }

    public void setCommenterName(String commenterName) {
        this.commenterName = commenterName;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getCommenterId() {
        return commenterId;
    }

    public void setCommenterId(int commenterId) {
        this.commenterId = commenterId;
    }

    public String getCommentContent() {
        return commentContent;
    }

    public void setCommentContent(String commentContent) {
        this.commentContent = commentContent;
    }

    public LocalDateTime getAddTime() {
        return addTime;
    }

    public void setAddTime(LocalDateTime addTime) {
        this.addTime = addTime;
    }

    public String[] getPicList() {
        return picList;
    }

    public void setPicList(String[] picList) {
        this.picList = picList;
    }

    public Integer getComentId() {
        return comentId;
    }

    public void setComentId(Integer comentId) {
        this.comentId = comentId;
    }
}
